<link href="https://www.openzui.com/dist/lib/uploader/zui.uploader.min.css" rel="stylesheet">
<script src="https://www.openzui.com/dist/lib/uploader/zui.uploader.min.js"></script>
<div class="container-fluid">
<div id="uploaderExample" class="uploader">
  <div class="file-list" data-drag-placeholder="请拖拽文件到此处"></div>
  <button type="button" class="btn btn-primary uploader-btn-browse"><i class="icon icon-cloud-upload"></i> 选择文件</button>
</div>
<script>
$('#uploaderExample').uploader({
    autoUpload: true,            // 当选择文件后立即自动进行上传操作
    url: 'your/file/upload/url'  // 文件上传提交地址
});
</script>
</div>
</body>
</html>